import request from "../request";

//获取所有评论
function findAllComments(){
    return request({
        url:'/comment/findall'
        
    })
}

//删除评论
function delComment(data){
    return request({
        url:'/comment/delComment',
        method:'post',
        data
    })
}
//批量删除
function delComments(data){
    return request({
        url:'/comment/delComments',
        method:'post',
        data
    })
}
//批量审核
function chekComments(data){
    return request({
        url:'/comment/checkbatch',
        method:'post',
        data
    })
}

export default{
    findAllComments,
    delComment,
    delComments,
    chekComments
}